package com.yc.starter.login.biz;

public class BizException extends RuntimeException {

    Object data;

    public Object getData() {
        return data;
    }
    public BizException setData(Object data) {
        this.data = data;
        return this;
    }

    public BizException(String message) {
        super(message);
    }

    public BizException(String message, Throwable cause) {
        super(message, cause);
    }

    public BizException(Throwable cause) {
        super(cause);
    }

    public BizException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
